package behavioral.responsibilitychain;

public class TinyManager extends Leader {

    @Override
    public void solve(String strName, int iMoney) {
        if (iMoney > 100) {
            if (this.getLeader() != null) {
                this.getLeader().solve(strName, iMoney);
            }
        } else {
            System.out.println("TinyManager : " + strName + " : " + iMoney);
        }
    }
}
